From 3bf4b00c15c4146bb894849e0d0a5d293b83ac50 Mon Sep 17 00:00:00 2001 From: "kaf24@scramble.cl.cam.ac.uk" Date: Wed, 17 Mar 2004 13:42:44 +0000 Subject: [PATCH] bitkeeper revision 1.805 (405855d4miA78lKONuhS5MJEPyuuhQ) console_client.py: Fix Python console module for direct use. --- tools/xenctl/lib/console_client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/xenctl/lib/console_client.py b/tools/xenctl/lib/console_client.py index 74fc978bf2..d4dfb78e66 100644 --- a/tools/xenctl/lib/console_client.py +++ b/tools/xenctl/lib/console_client.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python ############################################## # Console client for Xen guest OSes @@ -57,4 +58,4 @@ def connect(host,port): termios.tcsetattr(0, termios.TCSAFLUSH, oattrs) if __name__ == '__main__': - main(str(sys.argv[1]),int(sys.argv[2])) + connect(str(sys.argv[1]),int(sys.argv[2])) -- 2.30.2